From 32c9251b1e6075f6fb8ae82294da3a4b89205654 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 14 Dec 2011 14:27:07 +0000 Subject: [PATCH] wayland: Don't use deprecated function: gdk_window_get_pointer Replace it with gdk_window_get_device_position. --- gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 2a051de4da..806c568399 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -114,7 +114,7 @@ gdk_device_core_get_state (GdkDevice *device, { gint x_int, y_int; - gdk_window_get_pointer (window, &x_int, &y_int, mask); + gdk_window_get_device_position (window, device, &x_int, &y_int, mask); if (axes) { -- 2.30.2